<h1>Log in</h1>

<%= form_tag sessions_path do %>
  <p>
    <%= label_tag :login %><br />
    <%= text_field_tag :login, params[:login] %>
  </p>
  <p>
    <%= label_tag :password %><br />
    <%= password_field_tag :password %>
  </p>
  <p class="button"><%= submit_tag "Iniciar sesion" %></p>

<p><%= link_to "Olvido su contraseña?", new_password_reset_path %></p>
<div class="field">
  <%= check_box_tag :remember_me, 1, params[:remember_me] %>
  <%= label_tag :remember_me, "Recuerdame" %>
</div>

<%= link_to "Crear una cuenta", sign_up_path %>


<% end %>